package com.zrrd.feign.apis;

import com.zrrd.model.article.dtos.ArticleDto;
import com.zrrd.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author WanJl
 * @version 1.0
 * @title IArticleClient
 * @description
 * @create 2023/9/25 15:40
 */
@FeignClient("zhaozhaonews-article")
public interface IArticleClient {
    @PostMapping("/api/v1/article/save")
    ResponseResult saveArticle(ArticleDto dto);

    //http://127.0.0.1:51802/api/v1/article/save
}
